package com.sanyue.springboot.config;

import com.sanyue.springboot.bean.Dog;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Configuration和@Bean机制梳理
 * @author: Guan
 **/
@Configuration
public class Config {
    @Bean
    public Dog dog01(){
        return new Dog();
    }
}
